package cn.chiship.framework.business.biz.business.service;

import cn.chiship.sdk.core.base.BaseResult;
import cn.chiship.sdk.framework.base.BaseService;
import cn.chiship.framework.business.biz.business.entity.BusinessForm;
import cn.chiship.framework.business.biz.business.entity.BusinessFormExample;

/**
 * 自定义表单业务接口层
 * 2022/8/18
 *
 * @author lijian
 */
public interface BusinessFormService extends BaseService<BusinessForm, BusinessFormExample> {
    /**
     * 保存表单内容
     *
     * @param id
     * @param fromContent
     * @param modifyBy
     * @return
     */
    BaseResult saveFormContent(String id, String fromContent, String modifyBy);

    /**
     * 树状数据
     * @return
     */
    BaseResult listTree();
}
